﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DotNetNuke.Modules.SampleMvcModule
{
	public class SingleViewControl : SampleMvcModuleBase
	{
		protected override void OnInit(System.EventArgs e)
		{
			base.OnInit(e);

		}

		protected override void OnLoad(EventArgs e)
		{

		}

		private string _controllerName = "Foo";
		protected override string ControllerName
		{
			get { return _controllerName; }
			set { _controllerName = value; }
		}
		// Action defined at design time here instructs the DnnMvcBridge to use this action 
		// ignoring any action params in the Url.
		private string _actionName = "Index";
		protected override string ActionName
		{
			get { return _actionName; }
			set { _actionName = value; }
		}

	}
}